package com.ruoyi.supplier.service;

import java.util.List;
import com.ruoyi.supplier.domain.TbPriceStore;

/**
 * 库存明细Service接口
 * 
 * @author ruoyi
 * @date 2021-05-10
 */
public interface ITbPriceStoreService 
{
    /**
     * 查询库存明细
     * 
     * @param priceId 库存明细ID
     * @return 库存明细
     */
    public TbPriceStore selectTbPriceStoreById(Long priceId);

    /**
     * 查询库存明细列表
     * 
     * @param tbPriceStore 库存明细
     * @return 库存明细集合
     */
    public List<TbPriceStore> selectTbPriceStoreList(TbPriceStore tbPriceStore);

    /**
     * 新增库存明细
     * 
     * @param tbPriceStore 库存明细
     * @return 结果
     */
    public int insertTbPriceStore(TbPriceStore tbPriceStore);

    /**
     * 修改库存明细
     * 
     * @param tbPriceStore 库存明细
     * @return 结果
     */
    public int updateTbPriceStore(TbPriceStore tbPriceStore);

    /**
     * 修改库存明细
     *
     * @param tbPriceStore 库存明细
     * @return 结果
     */
    public int updateTbPriceStore(List<TbPriceStore> tbPriceStore);

    /**
     * 批量删除库存明细
     * 
     * @param priceIds 需要删除的库存明细ID
     * @return 结果
     */
    public int deleteTbPriceStoreByIds(Long[] priceIds);

    /**
     * 删除库存明细信息
     * 
     * @param priceId 库存明细ID
     * @return 结果
     */
    public int deleteTbPriceStoreById(Long priceId);

    void updateTbPriceStoreAddQty(TbPriceStore tbPriceStore);

    void updateTbPriceStoreReduceQty(TbPriceStore tbPriceStore);
}
